package com.xusheng.cli.req;

import cn.hutool.core.date.DatePattern;
import com.xusheng.cli.common.base.BaseRequest;
import com.xusheng.cli.entity.paymentChannelModule.PaymentChannel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class PaymentChannelQueryReq extends BaseRequest<PaymentChannel> {

    private Long merchantId;
    @DateTimeFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
    private LocalDateTime startTime;
    @DateTimeFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
    private LocalDateTime endTime;
    private Integer channel;

}
